From: Eli Zaretskii Date: Mon, 16 Feb 2004 18:20:31 +0000 (+0000) Subject: (Man-fontify-manpage): Render section headings in X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1~1^2~24071 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=0d2d3b7a87cde87b2c06e810e6813747950bf4fe;p=emacs.git (Man-fontify-manpage): Render section headings in `Man-overstrike-face' even when overstrike was not used by man formatter for section headings. --- diff --git a/lisp/man.el b/lisp/man.el index faf153bc4c4..0e665af723e 100644 --- a/lisp/man.el +++ b/lisp/man.el @@ -801,6 +801,11 @@ Same for the ANSI bold and normal escape sequences." ;; Try to recognize common forms of cross references. (Man-highlight-references) (Man-softhyphen-to-minus) + (goto-char (point-min)) + (while (re-search-forward Man-heading-regexp nil t) + (put-text-property (match-beginning 0) + (match-end 0) + 'face Man-overstrike-face)) (message "%s man page formatted" Man-arguments)) (defun Man-highlight-references ()